let token = this.isLogin();
			if (token) {
				uni.request({
					url: this.httpRoot + 'wallet/query',
					method: 'GET',
					header: {
						"token": token
					},
					data: {},
					success: res => {
						console.debug(res);
						console.debug(res.data);
						var code = 0;
						var data = {};
						var message = '';
						if ('code' in res.data) {
							code = res.data.code;
						}
						if ('message' in res.data) {
							message = res.data.message;
						}
						if ('data' in res.data) {
							data = res.data.data;
							// data = res.data.data.parseJSON(); //由JSON字符串转换为JSON对象
							// data = JSON.parse(res.data.data);
							console.debug('数据：');
							console.debug(data);
							if ('money' in data) {
								this.number=data.money;
							}
						} else {
							uni.showToast({
								title: '服务器错误',
								icon: 'none'
							});
						}
						if (message != '') {
							uni.showToast({
								title: message,
								icon: 'none'
							});
						}
					},
					fail: () => {
						uni.showModal({
							title: '请求数据失败'
						});
					},
					complete: () => {
			
					}
				});
			} else {
				uni.showToast({
					title: '请先登录',
					icon: 'none'
				});
			}